package com.pay.utils;

/**
 * 错误代码工具类
 */
public class CodeConstants
{

    public String resultcode;//错误代码
    public String resultmsg;//错误描述

    public static final String resultcodeKey = "resultcode";

    public static final String resultmsgKey = "resultmsg";

    public CodeConstants() {
    }

    public CodeConstants(String resultcode, String resultmsg) {
        this.resultcode = resultcode;
        this.resultmsg = resultmsg;
    }

    public static final CodeConstants resultcode_0000 = new CodeConstants("0000", "SUCCESS");
    public static final CodeConstants resultcode_0001 = new CodeConstants("0001", "微信小程序下单失败！");
    public static final CodeConstants resultcode_0002 = new CodeConstants("0002", "微信调用小程序下单API失败！");
    public static final CodeConstants resultcode_0003 = new CodeConstants("0003", "微信小程序下单错误！");

    public static final CodeConstants resultcode_0005 = new CodeConstants("0005", "微信付款码支付支付错误");
    public static final CodeConstants resultcode_0006 = new CodeConstants("0006", "微信扫码支付支付错误");
    public static final CodeConstants resultcode_0007 = new CodeConstants("0007", "微信支付退款执行错误");
    public static final CodeConstants resultcode_0008 = new CodeConstants("0008", "支付宝付款码支付支付错误");
    public static final CodeConstants resultcode_0009 = new CodeConstants("0009", "支付宝扫码支付支付错误");
    public static final CodeConstants resultcode_0010 = new CodeConstants("0010", "支付宝支付退款执行错误");
    public static final CodeConstants resultcode_0016 = new CodeConstants("0016", "订单支付中");

}
